<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>海创数字 | 设置权限</title>
<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="__PUBLIC__/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<link href="__PUBLIC__/css/animate.css" rel="stylesheet">
<link href="__PUBLIC__/css/style.css" rel="stylesheet">
<link href="__PUBLIC__/css/validationEngine.jquery.css">
</head>
<body class="skin-1">
	<div id="wrapper">
		<include file="default:left" />
		<div id="page-wrapper" class="gray-bg">
			<include file="default:header" />
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-10">
					<h2>设置权限</h2>
					<ol class="breadcrumb">
						<li><a href="?c=index&a=index">管理平台</a></li>
						<li><a href="?c=authmanage&a=index">权限管理</a></li>
						<li class="active"><strong>设置权限</strong></li>
					</ol>
				</div>
				<div class="col-lg-2"></div>
			</div>
			<div class="wrapper wrapper-content">
				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-content">
								<div class="dataTables_wrapper form-inline dt-bootstrap" id="editable_wrapper">
									<div class="row">
										<div class="col-sm-6">
											<a href="?c=authmanage&a=add" class="btn btn-primary btn-sm oprate_add">添加分组</a>
										</div>
									</div>
									<div class="row">
										<div class="col-lg-6">
											<form action="?c=authmanage&a=submit_set" method="post" class="validation" id="auth_set">
												<input name="group_id" style="display:none;" value="{$group_id}" />
												<table class="table table-striped table-bordered table-hover white-bg">
													<thead>
														<tr>
															<th width="50%">功能</th>
															<th>操作</th>
														</tr>
													</thead>
													<tbody>
														{$authHtml}
													</tbody>
												</table>
												<input type="hidden" name="id" value="6">
												<div class="col-sm-12 text-center m-t m-b-lg">
													<button type="submit" class="btn btn-lg btn-w-m btn-danger submit_btn" data-loading-text="提交中...">提交保存</button>
												</div>
											</form>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<include file="default:footer" />
			</div>
		</div>
		<!-- Mainly scripts -->
		<script src="__PUBLIC__/js/jquery-2.1.1.js"></script>
		<script src="__PUBLIC__/js/bootstrap.min.js"></script>
		<script src="__PUBLIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="__PUBLIC__/js/plugins/iCheck/icheck.min.js"></script>
		<script src="__PUBLIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<script src="__PUBLIC__/js/authmanage/set.js"></script>
		<script src="__PUBLIC__/js/plugins/jeditable/jquery.jeditable.js"></script>
		<script src="__PUBLIC__/js/menu.js"></script>
		<script src="__PUBLIC__/js/inspinia.js"></script>
		<script src="__PUBLIC__/js/plugins/pace/pace.min.js"></script>
		<script>
			$('button[data-loading-text]').click(function() {
				var btn = $(this).button('loading');
				setTimeout(function() {
					btn.button('reset');
				}, 1000);
			});
		</script>
</body>
</html>
